package com.hs.srm.admin.modules.orders.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.admin.modules.orders.dao.DeliverRecordDao;
import com.hs.srm.admin.modules.orders.entity.DeliverRecordEntity;
import com.hs.srm.admin.modules.orders.service.DeliverRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ych
 * @since 2020-04-22 15:21:23
 */
@Service("deliverRecordService")
public class DeliverRecordServiceImpl extends ServiceImpl<DeliverRecordDao, DeliverRecordEntity> implements DeliverRecordService {

    @Autowired
    private DeliverRecordDao deliverRecordDao;

    @Override
    public int updateIsRecord(List<String> pkIds) {
        return deliverRecordDao.updateIsRecord(pkIds);
    }
}